﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Common.Background
{
    /// <summary>
    /// WebManageUsers的元数据类
    /// </summary>
    [MetadataType(typeof(WebManageUsers_Meta))]
    public partial class WebManageUsers
    {

    }
    /// <summary>
    /// 用户实体级验证
    /// </summary>
    public class WebManageUsers_Meta
    {
        [Required(ErrorMessage = "请填写姓名")]
        [Display(Name = "姓名")]
        public string RealName { get; set; }
        [Required(ErrorMessage = "请填写账号")]
        [Display(Name = "账号")]
        public string LoginName { get; set; }
    }
}